#ifndef GAMEOBJECT_H
#define GAMEOBJECT_H


#include <SDL/SDL_image.h>
#include <string>
#include <SDL/SDL_ttf.h>
#include "Sprite.h"
#include "Animation.h"

using std::string;

class GameObject
{
    public:
        GameObject(int x, int y, string fileName);
        virtual int Update(int dt);
        void Render(SDL_Surface *screen);
        bool boxCollidesWith(GameObject *gameObject);
        int x, y;
    protected:
        int direction;
        Animation *animation[4];

};

#endif // GAMEOBJECT_H

